package com.fy.spring.feign.fallback;

import com.fy.spring.feign.PaymentFeignClient;
import org.springframework.stereotype.Component;

@Component
public class PaymentFeignFallback implements PaymentFeignClient {
    @Override
    public String lb() {
        return " lb 调用失败";
    }

    @Override
    public String timeout(int second) {
        return " timeout 调用失败";
    }

    @Override
    public String makeException() {
        return " makeException 调用失败";
    }
}
